package com.baoer.service;


import cn.hutool.db.PageResult;
import com.baoer.R;
import com.baoer.entity.Shift;
import com.baoer.entity.Trip;
import com.baoer.entity.Triptype;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

public interface TripService {
    Map getTripList(Map<String,Object>map);

    //添加旅行信息
    R addtrip(Trip trip);

    R updatetrip(Trip trip);

    R deltrip(Integer tripId);

    Trip tripinfo(Integer tripId);

    List shiftlist(Integer tripId);

    int addshift(Shift shift);

    Map triptypelist(Map<String,Object> map);

    int addtriptype(Triptype triptype);


}

















